<?php
namespace Home\Controller;
/*
 * Created by tiny
 * User: tiny
 * Date: 16/06/24
 * E-mail: mountaingiant@163.com
 *
 * */
class IndexController{
    public function index(){
        echo 'hello world';
    }

    public function getVersion(){
        $versionList = \Home\Server\IndexServer::getVersion();
        echo 'php版本：'.$versionList['php_version'].'。Mysql版本：'.$versionList['mysql_version'];
    }
}